package <%=packageName%>.constant;

/**
 * <%=pascalCase(name)%> 常量
 * json:<%=join(strutil.split(prettyJSON(project.constants),"\n"),"\n *")%>
 * @author hxd
 */
public class <%=pascalCase(name)%>Constant {
	
<%
for(constant in project.constants!) {
	var javaType = pascalCase(""+constant.type);
	var constantName = strutil.toUpperCase(snakeCase(constant.name));
	var constantValue = nvl(constant.value, "null");
	if(javaType=="String" && constantValue !="null") {
		constantValue = "\""+constantValue+"\"";
	}
%>

	public static final <%=javaType%> <%=constantName%> = <%=constantValue%>;
<%}%>

	private <%=pascalCase(name)%>Constant(){}
}